﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="membership_login.aspx.cs" Inherits="membership_login" %>

<%@ Register Src="_controls/header.ascx" TagName="header" TagPrefix="uc1" %>
<%@ Register src="_controls/footer.ascx" tagname="footer" tagprefix="uc2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="ctl00_Head1">
    <title>曼福旅游保险</title>
    <link rel="canonical" href="http://www.insureandgo.com" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="keywords" content="travel insurance, holiday insurance, annual travel insurance, ski insurance, backpackers insurance, annual, cheap, uk, insurance, insureandgo, InsureandGo," />
    <meta name="description" content="Buy cheap travel insurance from InsureandGo, the UK's largest direct travel insurer. Wide range of policies available. Prices from under &pound;6. Kids go free." />
    <meta name="robots" content="noodp" />
    <meta name="google-site-verification" content="_p3NAz7IjML6o1UMAukUDLvJ-q3yRO-14nTqkjd0dDI" />
    <meta name="WT.pi" content="index.html" />
    <link rel="shortcut icon" href="favicon.ico" />
    <link href="_common/styles/layout.css" rel="stylesheet" type="text/css" />
    <!--[if lte IE 7]>
        <link rel="stylesheet" type="text/css" href="_common/styles/lteie7.css" />
    <![endif]-->
    <!-- jquery style sheets -->
    <!-- jquery libraries -->
    <script src="_common/scripts/jquery/jquery-1.4.2.min.js" type="text/javascript"></script>  
    <script src="_common/scripts/util.js" type="text/javascript"></script>
    <link rel="stylesheet" href="_common/styles/styles.css" type="text/css" />
    <link href="_common/styles/style-compressed.css" rel="stylesheet" type="text/css" />
    <link href="_common/styles/form_layout.css" rel="stylesheet" type="text/css" />
    <link href="_common/styles/compare.css" rel="stylesheet" type="text/css" />
    <link href="_common/styles/dialog.css" rel="stylesheet" type="text/css" />
    <!-- ANALYTICS END -->
    <script type="text/javascript">
        $(document).ready(function () {
            $(".inte_l ul").hover(function () {
                $(this).css("border", "2px solid #ddd");
                $(this).find("li").show();
            }, function () {
                $(this).css("border", "2px solid #fff");
                $(this).find("li").hide();
            })
        })
        function ValidateSignin() {
            var _val = true;
            var _msg = "";
            if ($("#txtUsername").val() == "") {
                _val = false;
                _msg += "用户名不能为空!\r\n\n";
                document.getElementById("txtUsername").focus();
            }
            if ($("#txtPassword").val() == "") {
                _val = false;
                _msg += "密码不能为空!\r\n\n";
                document.getElementById("txtPassword").focus();
            }
            if ($("#txtValidateCode").val() == "") {
                _val = false;
                _msg += "验证码不能为空!";
                document.getElementById("txtValidateCode").focus();
            }

            if (!_val) {
                alert(_msg);
                $("#btnSignin").attr("disabled", false);
                return false;
            }
            else
                return true;
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" />
    <input type="hidden" name="__URLREFFERRER" id="__URLREFFERRER" value="" runat="server" />

    <script type="text/javascript">
            <!--
        function ___doPostBack(eventTarget) {
            var theForm = document.forms["form1"];
            if (!theForm) {
                theForm = document.form1;
            }
            if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
                theForm.__EVENTTARGET.value = eventTarget;
                theForm.submit();
            }
        }
            // -->
    </script>
    <div class="cc-cookies">
    </div> 
    <uc1:header ID="header1" runat="server" />
    <div class="clear">
    </div>
    <div id="maincontent">
        <!-- Page content -->
        <div class="clear">
        </div>
        <div class="contentInnerWrapper">
            <!-- Body Content -->
            <div id="borderedContainer">
                <div class="leftCol">
                    <div class="form_width">
                        <!-- End of DoubleClick Floodlight Tag: Please do not remove -->
                        <div class="fieldsetTop">
                        </div>
                        <div class="fieldsetMidd">
                            <div class="form_content">
                                <div class="formcontent">
                                    <p class="form_titles">
                                        会员登录</p>      
                                    <div class="errorpaneltop" style="display: none;" id="divErrorMsg" runat="server">
                                        <div class="errorpanelbottom">
                                            <div class="errorcontent">
                                                <h3 class="error">
                                                    错误提示</h3>
                                                <ul>{0}</ul>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="fieldsetBtm">
                                    </div> 
                                    <div>
                                        <table border="0" class="quoteForm" style="padding-left: 5px;">
                                            <tbody>
                                                <tr>
                                                    <td align="right" class="ControlTextLabels" style="height: 10px;">
                                                        <label for="txtUserName">
                                                            用户名：</label>
                                                    </td>
                                                    <td>
                                                        <input type="text" class="textbox" id="txtUsername" name="txtUsername" style="width: 150px;"
                                                            onblur="this.className='colorblur';" onfocus="this.className='colorfocus';" />  
                                                    </td>
                                                </tr>
                                                <tr style="line-height: 8px;">
                                                    <td>
                                                        &nbsp;
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td align="right" class="ControlTextLabels" style="height: 10px;">
                                                        <label for="txtPassword">
                                                            密码：</label>
                                                    </td>
                                                    <td>
                                                        <input type="password" class="textbox" id="txtPassword" name="txtPassword" style="width: 150px;"
                                                            onblur="this.className='colorblur';" onfocus="this.className='colorfocus';" /> 
                                                    </td>
                                                </tr>
                                            </tbody>
                                        </table>
                                    </div>
                                </div>
                                <div class="fieldsetBtm">
                                </div>
                                <div class="buttons">
                                    <span><a id="btn_login" href="###" onclick="if(ValidateSignin()){this.disabled=true;___doPostBack('login');}">
                                        登录</a> </span>
                                </div>
                            </div>
                            <div class="clearBoth">
                            </div>
                        </div>
                    </div>
                </div>
                <div class="rightCol">
                    <div class="side_pod">
                        <div class="top">
                        </div>
                        <div class="midd">
                            <p class="summary_heading">
                                注册遇到了问题？</p>
                            <div style="width: 100%;">
                                <p style="margin-left: 10px; margin-right: 10px;">
                                    请致电我们的客服团队，他们将为你解决购买过程中的问题。
                                </p>
                            </div>
                        </div>
                        <div class="bottom">
                        </div>
                        <br>
                        <a href="index.aspx">
                            <img src="_imgs/new_quote.png" alt="Start a new quote &gt;" style="margin-top: 0;"></a>
                    </div>
                </div>
                <div class="clearBoth">
                </div>
            </div>
        </div>
    </div>
    <div class="clear">
    </div>
    <uc2:footer ID="footer1" runat="server" />
    </form>
</body>
</html>
